<?php

/**
 * Albireo Kernel
 *
 * @copyright  Copyright (c) 2010 Albireo Solutions
 * @package    Kernel
 */
namespace KernelModule\AclModule;

use Nette\Object;

/**
 * ACL Role entity
 *
 * @author Albireo Solutions
 */

class AclRole extends Object {
    /** @var int */
    private $id = 0;
    /** @var String */
    private $name = null;
    /** @var int */
    private $parentId = 0;
    /** @var String */
    private $created = null;

    /**
     * ID getter
     *
     * @return int
     */
    public function getId() {
        return $this->id;
    }

    /**
     * ID setter
     *
     * @param int $id
     */
    public function setId($id) {
        $this->id = $id;
    }

    /**
     * Name getter
     *
     * @return String
     */
    public function getName() {
        return $this->name;
    }

    /**
     * Name setter
     *
     * @param String $name
     */
    public function setName($name) {
        $this->name = $name;
    }

    /**
     * Parent ID getter
     *
     * @return int
     */
    public function getParentId() {
        return $this->parentId;
    }

    /**
     * Parent ID setter
     *
     * @param int $parentId
     */
    public function setParentId($parentId) {
        $this->parentId = $parentId;
    }

    /**
     * Created getter (String/Date)
     *
     * @return String
     */
    public function getCreated() {
        return $this->created;
    }

    /**
     * Created setter (String/Date)
     *
     * @param String $created
     */
    public function setCreated($created) {
        $this->created = $created;
    }
}